#include "stdafx.h"
#include "aboutdlg.h"
#include "maindlg.h"


extern CMainDlg * g_pMainDlg;





LRESULT CAboutDlg::OnEraseBkgnd(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
{
	return TRUE;
}

LRESULT CAboutDlg::OnPaint(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
	CPaintDC dc(m_hWnd);

	return CXDialogImpl::OnPaint(dc.m_hDC);
}

LRESULT CAboutDlg::OnInitDialog(UINT /*uMsg*/, WPARAM wParam, LPARAM lParam, BOOL& /*bHandled*/)
{
	ModifyStyle(WS_CAPTION, 0);
	CenterWindow(GetParent());
	CXDialogImpl::OnInitDialog(m_hWnd, lParam);
	return TRUE;
}

LRESULT CAboutDlg::OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
{
	EndDialog(wID);
	return 0;
}